Optimal Randomized EREW PRAM Algorithms for Finding Spanning Forests
نویسندگان
چکیده
We present the rst randomized O(log n) time and O(m+n) work EREW PRAM algorithm for nding a spanning forest of an undirected graph G = (V; E) with n vertices and m edges. Our algorithm is optimal with respect to time, work and space. As a consequence we get optimal randomized EREW PRAM algorithms for other basic connectivity problems such as nding a bipartite partition, nding bridges and biconnected components, nding Euler tours in Eulerian graphs, nding an ear decomposition, nding an open ear decomposition, nding a strong orientation, and nding an st-numbering.
منابع مشابه
Optimal Randomized Erew Pram Algorithms for Nding Spanning Forests and for Other Basic Graph Connectivity Problems
We present the rst randomized O(logn) time and O(m + n) work EREW PRAM algorithm for nding a spanning forest of an undirected graph G = (V; E) with n vertices and m edges. Our algorithm is optimal with respect to time, work and space. As a consequence we get optimal randomized EREW PRAM algorithms for other basic connectivity problems such as nding a bipartite partition, nding bridges and bicon...
متن کاملParallel Algorithms for Maximal Linear Forests
The maximal linear forest problem is to nd, given a graph G = (V;E), a maximal subset of V that induces a linear forest. Three parallel algorithms for this problem are presented. The rst one is randomized and runs in O(logn) expected time using n 2 processors on a CRCW PRAM. The second one is deterministic and runs in O(log 2 n) time using n 4 processors on an EREW PRAM. The last one is determi...
متن کاملFaster Finding of Simple Cycles in Planar Graphs on a randomized EREW-PRAM
We show that if a planar graph has a simple cycle of length k, where k is a xed integer, such a cycle may be computed in O(log n) time by a randomized EREW-PRAM with O(n) processors with high probability. This improves a previous result of 8]. The improvement relies on an eecient parallel algorithm for computing a large independent set in a constant-degree-bounded connict graph, which is a natu...
متن کاملE cient Low Contention Parallel Algorithms
The queue read queue write qrqw parallel random access machine pram model permits concurrent reading and writing to shared memory locations but at a cost propor tional to the number of readers writers to any one memory location in a given step The qrqw pram model re#ects the contention properties of most commercially available par allel machines more accurately than either the well studied crcw...
متن کاملAn Optimal Randomized Logarithmic Time Connectivity Algorithm for the Erew Pram
Improving a long chain of works we obtain a randomized EREW PRAM algorithm for nding the connected components of a graph G = (V; E) with n vertices and m edges in O(log n) time using an optimal number of O((m+n)= log n) processors. The result returned by the algorithm is always correct. The probability that the algorithm will not complete in O(log n) time is at most n ?c for any desired c > 0. ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- J. Algorithms
دوره 39 شماره
صفحات -
تاریخ انتشار 2001